package com.own.business.question.entity.query;

import com.own.component.common.base.entity.BaseQuery;
import com.own.constant.ConstantBeanSuffix;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * QuestionOptionQuery
 *
 * @author 陈学礼 （你是一段成熟的代码，要学会自己改bug）
 * @version 4.0.0
 * @date 2021/05/14 09:41:05
 * @since 4.0.0
 */
@Schema(description = "题目选项" + ConstantBeanSuffix.QUERY)
@Getter
@Setter
@ToString
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class QuestionOptionQuery extends BaseQuery {

    @Schema(description = "题目id")
    private Long questionId;

    @Schema(description = "文字内容")
    private String content;

    @Schema(description = "图片文件id")
    private String image;

    @Schema(description = "选择题的时候是否为正确的答案 1-是 0不是")
    private Integer isAnswer;

}
